package org.doubango.FrCall.Screens;

import org.doubango.FrCall.Engine;
import org.doubango.FrCall.R;
import org.doubango.FrCall.Services.IScreenService;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class ScreenRenameGroupName extends BaseScreen {
	
	private static String TAG = ScreenChatSip.class.getCanonicalName();
	private final IScreenService mScreenService;
	
	private Button backToGroupnameListFromRename;
	
	public ScreenRenameGroupName() {
		super(SCREEN_TYPE.RENAME_GROUP_NAME, TAG);
		mScreenService = ((Engine)Engine.getInstance()).getScreenService();
	}
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.screen_rename_group_name);
		backToGroupnameListFromRename = (Button) findViewById(R.id.back_to_groupname_list_from_rename);
		backToGroupnameListFromRename.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				mScreenService.show(ScreenManageGroup.class);
			}
		});
	}
	

}
